package com.gaohe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gaohe.pojo.Dish;
import com.gaohe.pojo.DishDto;

import java.util.List;

public interface DishService extends IService<Dish> {
    public void saveDishDto(DishDto dishDto);

    public Page<DishDto> DISH_DTO_PAGE(Integer page, Integer pageSize, String name);

    public DishDto updateDishAndFlavor1(Long id);

    public void updateDishAndFlavor2(DishDto dishDto);

    public void stop(Integer status, String ids);

    public void deleteDishAndFlavor(String ids);

    public List<DishDto> DISH_DTO_LIST(Dish dish);
}
